package cn.edu.lingnan.service;

import cn.edu.lingnan.user.dtos.Result;
import jakarta.mail.MessagingException;
import jakarta.servlet.http.HttpSession;

public interface EmailService {
    void sendCode(String email) throws MessagingException;

    Result loginEmail(String email, String code, HttpSession session);

    Result sendRegisterCode(String email);

    Result sendResetPasswordCode(String email);
}
